package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @ProjectName xbb-pro
 * @Description: TODO
 * @date 2019/1/21 13:40
 */
@Setter
@Getter
@ToString
public class ChartSetEnableDTO extends BaseDTO {

    private static final long serialVersionUID = 3808736191453583244L;

    /**
     * pk榜指标id
     */
    @NotNull(message="{dto.msg.chartSetEnable.chartId.NotNull}")
    private Long chartId;

    /**
     * 是否启用指标
     */
    @NotNull(message="{dto.msg.chartSetEnable.enable.NotNull}")
    private Boolean enable;

    /**
     * 指标类型
     * @see com.xbongbong.pro.statistic.enums.StatisticsTypeEnum
     */
    private Integer statisticsType;
}
